{/*
* @author PSI
* @copyright 2015 - present
* @license GPL v3
*/}
<layout name="layout" />

<script src="{$uri}Public/Scripts/PSI/SLN0001/Supplier/SupplierField.js?dt={$dtFlag}" type="text/javascript"></script>

<script src="{$uri}Public/Scripts/PSI/SLN0001/Vat/IncomeMainForm.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/SLN0001/Vat/IncomeImportForm.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/SLN0001/Vat/IncomeEditForm.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/SLN0001/Vat/SelectPurchaseForm.js?dt={$dtFlag}" type="text/javascript"></script>

<script>
  PCL.onReady(() => {
    const app = PCL.create("PSI.App", {
      userName: "{$loginUserName}",
      productionName: "{$productionName}",
      appHeaderInfo: {
        title: "{$title}"
      }
    });

    const permission = {
      add: "{$pAdd}",
      edit: "{$pEdit}",
      del: "{$pDelete}",
      uploadPDF: "{$pUploadPDF}",
      downloadPDF: "{$pDownloadPDF}",
      relAdd: "{$pRelAdd}",
      relDelete: "{$pRelDelete}",
      relCommit: "{$pRelCommit}",
    };

    app.add(PCL.create("PSI.SLN0001.Vat.IncomeMainForm", {
      permission
    }));
  });
</script>
